namespace FaultDiagnosisSystem.Models.DataModels
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("TrendStableValue")]
    public partial class TrendStableValue
    {
        public int Id { get; set; }

        public int TurbineId { get; set; }

        [StringLength(50)]
        public string TurbineName { get; set; }

        public int ComponentId { get; set; }

        [StringLength(50)]
        public string ComponentName { get; set; }

        public int SensorId { get; set; }

        [StringLength(50)]
        public string SensorName { get; set; }

        public int ModelId { get; set; }

        public int PowerPoint { get; set; }

        public int Accuracy { get; set; }

        public int TimeRange { get; set; }

        [Column(TypeName = "date")]
        public DateTime Date { get; set; }

        public DateTime TimeStamp { get; set; }

        public float? RealPower { get; set; }

        public float StableValue { get; set; }
    }
}
